import { createI18n } from "vue-i18n";
import epZH from "element-plus/es/locale/lang/zh-cn";
import epEN from "element-plus/es/locale/lang/en";
import zhLocale from "./zh"
import enLocale from "./en"
//
const i18n = createI18n({
  legacy: false, // 解决使用useI18n报错问题
  locale: "zh",
  messages: {
    "zh": Object.assign({}, zhLocale,epZH),
    en: Object.assign({}, enLocale,epEN),
  },
});
export default i18n;


